added support for scalar data, fixed bug with clicking on mayavi plot, included temporary hacky but functional fix for crummy 3d snapshots