Main Window / Config Preliminary Work