make logging work property and warn user if they destroy the app