Removed import of deleted file. Fixed bug in state_checker loop.