added xml persistence, tied defaults to xml settings, grouped gui elements