Fixed bug which would lock up program when no options were selected.