Add display of previous SEARCH/VIEW after error
Remove redundant message
Added display of previous view from InvalidCommand
Modified InvalidCommand for flexibility
Merge branch 'output_format'