added ability to clear Repl text & history with explict functions; added reShape with explicit size