Got rid of pyc junk, made .gitignore, fixed preview bug