Fix close button.
added test tone
more checking for setParams() in debug mode
add shrink to MLRect
cleanup, debug
add output check to compiler