bugs on refs #528
Merge branch 'dev' of https://github.com/projestimate/projestimate into dev