Sped up Map loading

optimized map loading code somewhat, fixed bug where player loads map
while in a clamped quadrent (previous fix only covered 1/4 of cases),
made saving and loading sprites safer