Minor code changes to solve admin menu bugs. 

fixed showInputDialog calls. 

Fixed print to screen wrapping text. 

Fixed write out human readable product database. Was giving the wrong database.