more tests, bugfixes
formatting bug fix
Added posts references
some tests for referencing
Now it shows only last 5 replies per one thread on the main page