2013-12-01 implement magic wand button, some changes to solver