#28625, further form API conversion of taxonomy.module and small bugfix in forms API, patch by profix898 and chx