Remove cst_dbgmsg since it is a once used alias unneeded for Bellbird.
Minor change to error handling returning 1 rather than 255.
Removes unused debugging abort code also.
Remove insufficiently general wchar support.