Removed log code
added optional ruler top/bottom/both on tree_annot