Renamed two methods
Bugfixes, better debugging (pause, resume support)