Improved the visit function. Made the window position configurable. Removed after-save hook on quit