Fix scaling for mobile.
Ignore databases.
Fix mobile orientation change handling.