Remove default settings in constructor;
make the closing function actually work.