Basic z level support and a few other things