31.07.2012, 10:09
Add debug lines EVERYWHERE. I cannot stretch this enough. They will give you a visible representation of what executes and what doesn't. I should go write a tutorial on debugging as no one apparently knows how to do this.

