Added a port list and choose method, added sleeps for good measure and expanded the reset to include flush and clear error. Also set up methods for set name and set MS.