When I started with the tilesetmanager of my tileeditor I was like "How big could it be?I just do a little bit coding here and some geek stuff there and then everything should work fine".
Today is payback time.
I faced an error in the tilesetmanager and had no idea where to look for the error on the first look. No commentation and barely readable code.
I figured out the error but now I'll go and redesign the datamodel of the tilesetmanager because I can't live with the shame that I programmed something that ugly.
Long story short: I shouldn't do that anymore. (Although that's really not my style usually)