add global variables for model types in defines.h
update modelwindow using global variables defined in defines.h