Made count command on collection use same error handling as all other commands
Changed cursor command not to relay on the command option
Simple cleanup
Fix for thrown exception #1055
Updated history