Large updates to webserver

Do not merge yet

Change-Id: I38c56844c1b0e3e8e5493c2705e62e6db7ee2102
diff --git a/src/getvideo_main.cpp b/src/getvideo_main.cpp
index 2ab0c0e..bc4d75b 100644
--- a/src/getvideo_main.cpp
+++ b/src/getvideo_main.cpp
@@ -7,8 +7,8 @@
 #include <thread>
 #include <vector>
 
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
 
 //#define BUILD_CIMG
 #ifdef BUILD_CIMG
@@ -28,7 +28,7 @@
     out = p.read_video();
   } else {
     FILE *fp = fopen("/home/ed/screendata.bin", "rb");
-    if (fp) {
+    if (fp != nullptr) {
       size_t newLen = fread(out.buffer.data(), sizeof(char),
                             out.buffer.size() * sizeof(long), fp);
       if (ferror(fp) != 0) {