Improved script interface

All mouse callbacks now send all key even info (modifier, position,
mouse click count...).
Console variable can now use $ThisControl to reference itself.
Can now pass option bool to performClick in order to force the call even
if the button is inactive.
Added script method to get the width of the text in the button.