Fixed compiler warnings.
  Added ":" to prompt for input.