Check for unicode responses in python hooks
Removed lua debug
Added before message displayed hook to c plugins