Added retry connection button to initial view

Added retry connection button to initial view
Add .gitignore
Did a bit of code cleanup