Many changes

Button short code, improved events, clamp.js added, plus lots more