The nudge notification now hides upon closing with the 'x'. Fixed several rubocop issues.