minor framework improvements
Merge origin/master