Added a text view and started fixing some bugs, it's still broken btw :(