changed: refactored previewCtrl and added show sketch buttons