Updated the use of 'w'.

  Some hosts don't like the long-form of arguments, so use
 "w -h" instead of "w --no-header".
  Updated to hide warnings about locks.