closes #28:  Add ability to log the stack trace of exceptions. enhancement.
Adding debug statement.
closes #29:  Comments above root nodes in pages throw NullPointerExceptions. bug.