Brian pls... getters for global variables?

Consider putting ghost in a class.
I've bugfixed it so it can run okay buddy ^^
Now I'm gonna work on making ships move.