the toolbar now updates with new trails when they are created, without refresh, also added on enter to the trail name box and did some refactoring anand got things synced across windows