Switch states view to use popen to speed it up and use less memory (should be able to view much larger state tables in the GUI without running out of RAM)