legend + region toggles

add legend tab and widget. add toggles to left and bottom regions
Merge pull request #11 from btfou/master

legend + region toggles