fixed loading of initial diagram data in hmi
added daemon mode and pid file to gunicorn startup script