AI Work and fixes

Fixed the bugs I introduced yesterday; enemies now properly run away
from you when you hit them, like real people!
Also you can no longer go off the edge of the screen. What is beyond
must stay there for the time being.

Fixed some mixed indenting in main.lua, the Love wiki uses spaces like a
bunch of heathens.