lots of bugfixes.
lots and lots of them

repaired database issues in parser and servlet.