fixed some E_NOTICE errors
fixed sql query when wp_cubepoints table is empty
fixed more E_NOTICE errors
fixed depreciation warning
initial implementation of the points widget