Need to fix imshow() segfaults