model loading refactoring and error handling.
log editor page.
log page done.