minor fix

* arrange comments and formatting
strip the oncommand string of whitespace from both ends
fx27: workaround for a syntax error
use Add-on sdk modules