Cleanup some untidy code in the input handling, removing a distasteful two-stage initialisation pass between the Activity and the SurfaceView. The SurfaceView now pumps native input directly and doesn't need a back-reference to the Activity. Factored out an example HudPinController to demonstrate creating a Java service object from C++/JNI and giving it parameters etc, for a more representative example.