The source to my now patched inventory viewer