Removed unused references
Settings related cleanup
Refactored MainForm a bit
Settings design adjusted
Snippet dialog refactored