Fix for updating in background

- Had to turn off the animation frame to start the interval
- Also added the update to the window title
- Fixed ResourcePack:toString()