Added some stuff and fixed some stuff

Checks if all invaders are dead and if they are, ends the game.
Fixed the top line not being affected by bullets.
Tidied up some of the code.