Slight improvements in slicing

Fixed layer manager accessing methods
Added printing dialog to print view