Initial panel switching mechanism and gui (work in progress).