turn off compression by default and clear output buffers on start and end of bootstrap
default session lifetime is a day and secure cookie uses this value
store user notifications in session, log them when script finished, set headers, flush output
rename flag for keeping notifications
updated