Refactored to use input/ouptut arrays

Simplified some things.  No longer modify the list that populates the select.  Implemented IsOther in a slightly different way.