Fix spaces
Fix tabs
Fix bug with callback into Java
Remove source functions
Rename angle to bearing