Commented and cleaned up code.  There were some other minor display and bug fixes as well:
- Fixed methods and datasets page from hiding the create wizard when submitted (which looked like the method/dataset was added ready for use and then reloaded after a second or 2).