Catch command exceptions to maintain shell, add temporary sample_command to basemenu