Fixed MobilMAX return codes; prepared for DB insertion