Bug fixes

Fixed severe bugs in writing/reading settings, which leads to invalid
blocklist.
Fixed severe bugs in editing the list.
Removed 'minimize to tray', not useful.
Some redundant codes were removed.
In the next release, user experience will continue to enhance, e.g. a
whitelist in comparison to blocklist.