pylint code clean up, and removal of some superfluous comments. Also fixed bug var_dict value being clobbered when adding a new button.