fixed some java coding style issues (contact for compiler settings). also added FIXME / XXX comments in places where no fix was performed