Added drawing of trace, cross, features and debug boxes.