Fixed a bug in Add Tree Types, also added comments

Sorry i forgot what commenting format you wanted!
All comments start with:
// INF117 Start
or <!-- INF 117 Start --> (in forms.php)
And end with:
// INF117 End
or <!-- INF 117 End --> (in forms.php)