Fixed the registers and load/save system.