Fixed progress bar issue and battery status changes now after device connection is lost
Realtime plot only displays the last 50 points (can be changed) to avoid graph issues on long protocols