Fixed memory leak in Frame caused by the KeyboardFocusManager. Now we save a reference to the KeyEventDispatcher and remove it when logging out.
Issue: MIRTH-3074