removed wg-mode-line-disable

Use wg-mode-line-display-on
Currently save session not checking modified flag
Removed unused function