Fixed problem where numpy ints were not registered with sqlite3
Can now click ROIs in GUI. Renamed a lot of chip functions to ROI functions