fix quality problems, add respect for maxquality
Merge pull request #89 from ingwinlu/fix_quality

HOTFIX quality problems, add respect for maxquality