Many small updates and added max print height check