Intital set up of main form for GUI interface