Fixed a problem when resetting profiler and doing Stop.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop