Cleaned up code to remove obsolete commented lines and added print stylesheet