Added commands to help window; code tidying.