fix mavericks compatibility
refactor text view to be simpler (remove core text layout, fix unit tests, etc)
work on scrolling
Remove some commented out code