Added downloading frames from REST app and solved bug with random diode state by repeating frame 100 times per second