sanity checks
cleanup rpi output
add info about the framerate in the log file, add comment