Added Pause State and GUI system