removed wrong constructor calls
fixed monitor not working after suspend
Merge in changes by @jimmypoms, close #3.