CPK now tests mode parameter for dashboard elements and renders an '_tmp.cdfde' file instead of '.wcdf' if mode=preview.
Merge branch 'master' of github.com:webdetails/cpk
Fixed bug from last commit where declaration was after use of params variable.