GUI working, connectWindow made