ui.calendar: rework section node creation and small refactoring (fixes #16)