UiBinder fixes for Android

There are somethings assumed in the code that breaks UiBinder when
coupled with Android. This fixes a few.