Removed debugging flags from mkfile
Added panic function

Also removed the check to make sure that the register index in get and put
register are greater than zero (they're unsigned...).
Eliminated compiler warnings