Fix netty version check, and other small things