fixed issue #3, once and for all!
found the typo that was holding me back.
a few minor changes to chat.php and api/objects.php as well.
closes issue #5. destroy implemented.