some cleanup still
simplify group title resolving
fix a nasty bug in file parsing