Added better error handling to getModelID, and stopped hamleModel_Zero form throwing exceptions