Pause functionality working in first version, added initial set of pauseevent to not pause after autostart.