added redo button and other touchups