new class for error dialog control
boostSharedPtr passed through code, logic for 5 dialog boxes
Put logic from logwindow to errorcontrol
static int const = 5
revert bin/.gitignore
Merge pull request #541 from benjaminlarson/benDialogError

Closes #379