Some bugs and pretty urls were fixed.