Memory Leak fixed, checking matplotlib backend to make sure it works on fedora AND ubuntu. Hanging terminal after file dialog also fixed.