Refactored imports in main_form module
Refactor of main_form and iscore modules
Removed base calibration mode.
Added doc header to com_thread.