error messages now in popup window, fix error reporting, fix tool properties