Fixed a potential issue where cache/storage directories already exist
Ensure the image cache directory exists; return false if not
Use Environment for data directory path
Only set the show/hide notification bar flags if necessary
Added deprecation notes