Remove old functions.
Cleaning and settings.
Add directory initialization
Fix bitmap displaying