fixed bugs
program now dumps output to PNG
try deleting database.chk since serialVersionUID changed recently for some classes