Add several small fixes

Moves the ActionBar hiding to the app theme instead of progmatically doing it.
Fixes some warnings.