Some bugfixes for sensor/data code + add FCGI_INT_T

Note: PrintByTime/Points have exclusive ends now.