Stops if error
Fixed bug when using MBR
Bug fixes
Now stops on error
Added v. simple debugging output