Fix some copyright headers
Fix some problems logging from widgets