bugfix from merge
move all shutdown behaviors into stop()
removing odd sigint handling, it's been replaced by stop()
some minor cleanup work
adding current_assignments and TODOs
adding current_assignments to config_flags