Some cleanup
Input fix
Merge remote-tracking branch 'origin/master' into gh-pages