fixed bug with MapInfo EndSession clearing the sessions copper incorrectly