Remove debugging
Less debugging messages
Unused import
Close to preserving cursor position