Got shell working with an efficient framerate-controlled step loop and
global data. Ready for cloning.