Fixed problem when running peacock w/o input (closes #2781 and #2771)