Fixed print bug on closing and reopening print widget
Removed system println and replaced with log