we fixed amd64 compiler warnings, some nasty memory leak and 
some other minor issues.