- Optimise current cursor position displaying routines, to avoid unnecessary   cursor movements; - minor cleanups in cursor position displaying routines; - properly resent "file modified" flag when editing several files.
- Optimise current cursor position displaying routines, to avoid unnecessary
  cursor movements;
- minor cleanups in cursor position displaying routines;
- properly resent "file modified" flag when editing several files.

MFC after:	1 week

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase