Improvements to page layout
Fixed bug when users hit enter
Improved space calculation for trees