Fix lots of bugs, change config format.