added toolbar; started building the infrastructure for modes