Fixed critical bug in process, added stage autostart, small fixes in profiler