Fix issue where user couldn't save on close with unsaved changes
Fix issues with package manager search