Fix infinite loop in history execution
Improve history behavior
Improve g:vimshell_max_command_history behavior