[WebUI] Changed --profile to use cProfile
[WebUI] Flake8 web.py