refactoring ui-related stuff from game.js to a new ui.js file; enabling all help in debug