Create tables screen, fix some API bugs