Added cursor location tracker to main window