Replace logging with slf4j. Remove Rhino (jdk15), other hacks and fixes