Removed old GUI test code.
Inline doc for pad().
Added parameters and defaults for draw().