Setting error handling

Added message boxes to indicate failure to apply settings. Fixed macro
bug. Version is stable except for case of memory exhaustion. No error
handling currently for that case.
Revert "Setting error handling"

This reverts commit 35f63f182e89604574b8eddc84ef6263631e9d9f.