Paused state implemented.

Could be my last substantial commit on this project.