code cleanup and 64-bit cleanliness

Help
annamoo
2009-03-19
2013-04-15