added config variable for number of menu items
fixed bugs and errors in tag.class.php
ran a test using test.php to confirm tags was working