mimi fixes, respawn script

fixes #4, fixes #5, fixes #18