Major WIP. Mostly GUI.