Fixed various display bugs
Now closes the task editor when the device is changed
Power charts are generated randomly
Changed UCtrlApi port from 3000 to 80