Fixes to fault tolerance and scripts.
Updates to code and comments.
Added handin folder.