split hit resolution into functions, added logging

Split hit resolution into separate functions, named targetHit and
targetMiss. also added logging for target events.
added pause screen overlay

added pause screen overlay.
added new html class "overlay" to classify divs that cover the game
screen. (pause, menu, etc)