added sound fade out after game over

and some code cleanup