Cleaned up all compiler warnings due to 64-bit transition and pedanticism.