Removed some verbose debugging from create_fsm and fixed bug in pool.