wip: including debug page, several fixes to data loading