fixing up message calls
adding user parameter to admin panel template
export debugging
slightly better unavailable code
replace substr with mb_substr to handle certain accented characters