fix(project/remove): removes header after project was removed,

also: cleans up main js from obsolete deps

https://trello.com/c/yagxzU79/347-2-exception-is-shown-when-click-on-any-menu-item-after-removing-opened-project