Fixed: now skipping correct number of values in magnitude buffer

Variable j points to the current location in the magnitude vector.
When decoding a message  (MODES_PREAMBLE_US+msglen)*2 is added to j.
In the loop head j is increased by 1, so one value was skipped.
Merge pull request #14 from kopppa91/master

Fixed: now skipping correct number of values in magnitude buffer
Merge remote-tracking branch 'origin/Debug'
Incorrect value for auto-gain

Incorrect value for auto-gain option the Modes.gain is multiplied by 10.
Merge pull request #16 from papasven/master

Incorrect value for auto-gain
B"H decode more data, etc.

- decodes a bit more information
- misc. small changes
B"H allow disable ports, doc disable net heartbeat
Merge pull request #19 from hhm0/decoding

decode more squawk codes
Merge pull request #20 from hhm0/network_disabling

make network services disable-able
Merge remote-tracking branch 'origin/master' into Debug
B"H view1090: handle disconnection

 - keep trying to reconnect to server if disconnected
B"H view1090: do not block

 - do not block on network data
B"H view1090: sleep a bit between loops

view1090 was using close to 100% CPU before, with the non-blocking
commits and the reconnection code. sleep a bit between loop iterations
to keep CPU usage low.

CPU usage with this addition was down to <1% in testing.
B"H view1090: do not use pthreads

It *seems* that pthreads are used in dump1090 for I/! sample reading
only. So view1090 need not use pthread_exit.
Update dump1090.c
Create convienience.h
Create convienience.c
Update dump1090.c
Update dump1090.c
Delete convienience.h