Improved Flask flash messages.