tidy up and bug fix

- all back-ticks have been converted to $(...)
- ensure names are quoted when running commands.
- runcommand now uses evel to run the command,
  this allows for quoted parameters such as 'IDE Controller'
- typo in stattach fixed.