changed config to be more platform independend
copied inital version
naive implementation of a multitrack recording feature, still needs testing