fix a handful of bugs

boundary detection bug
memory leak for bullets
enemy occasionally spawning on player
add footer, centre viewport