QuickBug: Fixes #245 and #251, Issues are now edited in the main window and discard closes the window.