Clean up

I was getting annoyed by the fact that there was no clean group / type overview in the index. I've added this - a jQuery accordeon menu would also be nice.

I've also changed some code that I noticed on the fly.