Fixed several bugs. Almost there!

Tableviews are still not showing.