Code reorganized. Unused memory at FEA0h emulated (needs a few tests more).

Code reorganized. Unused memory at FEA0h emulated (needs a few tests more). Memory initing removed from ROM loading function. Removed some mallocs and made that pointers statically allocated.