Added licence header to tasks.py and minor changes
Warning level events are now yellow