Not so sure about this..
More thinking about how to build the command plugin preferences dialog