AHA. FIXING STUPID 64BIT ISSUE! TAKE THAT! AND THAT! (and that)