Bugs causing LMS299 to not even start on pythonanywhere

I am afraid people are submitting pull requests for code that has not even been tested. I fixed:
1) a table was declared twice in db1.py
2) an SQL reserved named used for a field in dbcal.py
3) several typos in the word 'visibility' in dbcal.py