Renamed loader.js to gui.js; Added overlay wrapper and pause functionality