Hide cursor when it isn't needed; cleanup some comments