Removed more 64bit warnings
Better errors