Some changes, and moved code.

I still couldn't fix the bug with the ceiling or the AI.  I've narrowed
down the freezing ball glitch but I didn't spend too much time on that
one.  I spent most of my time on the AI which is still kinda freaking me
out, since I didn't program it to do the things it's doing... but it's
some how doing them and I don't know how!!