added clearFrame function
Merge branch 'development' into gh-pages