Added saving and loading of spritemaps

Added extra 'critical' level to errorlevel.