Add option to activate shadow ROM functionality, add function to load file to memory, check if nonautoconfiguring memory is already configured, more comments, improved code sanity