stylisitc changes to main and video
more PEP changes. hooray for pylint!