Fix: made MapActivity return appropriate return codes.