small changes mainwindow

add int int String

delete "magic numbers" in FunctionPanel