BUG
- OVR record mode seams to need lock to perform properly. observed bounce in audio recorded without lock...
x failure to read configuration file breaks jackd
x meter goes over 0db limit (by 1 char) - NOT A BUG this shows click for signals going over 0db.
- live update of the locks is not immediate somtimes
- seams cracks in audio breaks jackd (may not be linked to meterec)
x sometimes need to hit return twice to start recording - NOT A BUG this is because playback is ongoing
x Exiting on error should properly close ncurses window...
x problem with "not take yet" information
x port map trailing spaces
x missing index a end of line when saving session/setup
x record mode broken in 0.5 - the n_takes was updated too often in load_setup()

FEATURES
- use indexes to make playback loop
- support jack session save
- be a jack transport master
- add option to stop and exit after a provided time
x allow contiguous takes during record (for long live concerts) hiting BKSP
x convert old configuration files to .mrec
x use only one configuration file .mrec
x should rework buffer handling to start over immediately on playback and record. (maybe pre-fill read-buffer)
x add a way to detect clicks (saturation)
- enhance click detection to be raised exactly when value 1.0f is reached.
- integrate a tuner (use tuneit or lingot) with a single key to select what port to tune
- toggle pass tru (using jack conection) on a keystroke, this is to avoid larsen when playback 
- toggle pass tru (using hw monitor) - see what "use HW mon" of jackd does.
- center meterec in the console verticaly, this is not to be bothered by bad/misstuned screens not displaying whole console
- center meterec in the console horizontaly...
x Option to produce in stdout template file based on system...
x Add creation of empty session file if file does not exists.
- Add support for compensating internal delays ( move initial position of process read buf pos)
- Beware on internal timing compensation for overdub mode ( nunless overdub is a dub + extra connection - bof, will record twice the new take)
x free all alooacated memory before leaving
x colorise meters that will be recorded
x Add ncurse support
x remove decibel mode
x implement Overdub mode
x replace P with X
x Use .conf file only for setting up number of ports + connections
x .sess file ony to register the track mapping
x Add playback level meter
x Add portmap file for handling connections to system/ports
x Change take file name to be sessionname_xxx.wav
x Modify Record mode not to play
x Add overdub mode
x Add dub mode
x support case unsensitive in .conf

=XX|01
=-L|02
R--|03
O--|04
D--|05 
=--|06
=--|07
=--|08


P----0Oo.--------------0Oo.----------
R-------0Oo.--------------0Oo.----------

P-0Oo.--------------0Oo.----------
R----0Oo.--------------0Oo.----------
