various tweaks, working version

Merged wingtrack and record functions.
Can start/stop recording without ending program.