added debug status from framescripts, and tidied up