Set the VID_AVC flag where applicable recordings by inspecting the video codec during recording.
Remove a header that ended up not being used.
Fix some DB queries in ProfileGroupEditor which weren't using bound values.
Fix some DB queries in ChannelUtil which weren't using bound values.
Fix a slew of errors in the previous commit.