Fixed Support for Parameters on Command Type

Added proper threading for the command parameters dialog when a command
is entered without the required parameters.