Part of a HUGE redesign mostly done but incomplete. I'm exhausted, doing this thing "by hand" is insane, I miss my old web framework... Anyway, let's call it a day. OMG this commit line totally doesn't respect the 80 chars maximum commit first line convention!