devcode backup

dev dev dev. stupid obvious syntax error was sitting there for 2 weeks.
lern2 test moar. also made loadData() more resilient