improve py simulate method, clean up handling of selections in python, clean up getting simulation data