Apply fix for issue 552, so we don't miss this fix later on.
Fix for issue 550 (wrong debug statement for cgi connection).
Final fixes for issue 546 (translation).