some Java backend cleanup. more to do