Fixing up some bugs, fixing the build scripts, making the tables work better with eachother