Resize and layout

Added resize button and functionality in mode 4.  Also tweaked the
layout of the draw phase in mode 4.