Refactored the print and email functions + visual upgrades