added pause feature/code cleanup

Added ability to pause game and debugged issues with sound and text.