Major improvements to the nonogram solver