removed unused lib and proc imports, add flightloop callback interval constant