checking for write permission on the item_id instead of admin on the package_id since i need to allow some users to edit public messages without having package admin rights
Parse level wasn't being popped off if an included template triggered anerror. This broke my version of the portals package which uses includesrather than generate stuff via explicit calls in Tcl as the new-portalspackage did.