Huge number of fixes, added messages stack handler, converted all notifications to formatted strings.