Added unwanted files to .gitignore
Clear history when app pauses
Removed debug square drawing, some other debugging related code
Added Mat::release calls, maybe improves crashes in threshold mode
Ready for tomorrow!