Fixed a bunch of select input issues, mainly by simplifying.