Fixed error related to outputting fsm structure
Added functionality for monitoring amount of active clones