Added the ability for the playState to auto-pause when the window loses mouse focus. This feature is enabled/disabled with a simple boolean setting.