Fixed kiosk build errors and performed some basic modernization.

There are some other quirks in here (status bar, navigation bar animation, etc.). 
That should be looked into once the framework is bumped up.