complete rewrite. cli version is finished. the actually recording is untested
and could be broken but the program around it is solid stable now. ;)