GUI work nearly done