Removed unnecessary sizers/fixed memory leaks