Improve 'q' behavior

Don't use windows-configuration function, because cursor
position is not need to restore.