Fix HTTPS timeouts and port to Python 3.
Fix crash when deleting open courses from notification list.