Fix introspection and add plot outputs for Windows