Fix bugs. format. Run through linter. Fix https.