fix autorelease pools not being set (
issue #209) and format code a little
use PtrInt to match lua's use of ptrdiff. Needs testing.
Fixed messages complaining about no autorelease pool being set up with objects leaking on the Mac. I simply initialized an autorelease pool in the couple of places that needed it.
Some fixes. Can't reproduce ghosts now.
workaround. disable drawing shot after passing through portal. proper fix would need to use the portal position
eh. 1,000,000 might be better...
oops. vg dX/dY - just for consistency
Adding a hat test page to version control. Also kind of a test to see if it will be served with the right content type by google code