WIP commit: debugging, bugfixing and support for new training group struct; DB vers. 1.15.14