Maid 433 connection map functionality issues

Functionality issues on the connection map has been fixed.

1. Vault added leaving 
2. Timeline Viewer issue fixed
3. Code re-factored to avoid sharing variable globally in connectionmap