Small changes for lazy users

Import the (seemingly) main function at the top level, and don't require the figure to be specified.