Ground work on GUI.