Solved race condition NPE on last tab close. Fixed #45.
Made the Memory Monitor better. Fixed #47.