Fixed spacing and compile errors.

Oh, the woes of not having Netbeans for Android...