Fixed division by zero error and added file chooser. Fixed layer height/nozzle size ratio for tall layers.