refs #1024, fix bug in getBestGuessCursor, address some code review comments