Many small changes, but mainly about default parameters. Also added convenience functions for handling defaults and for interacting with the user.