Fix whitespace problems
Remove deprecated g_type_init call
Don't claim to have subscribed to a port if we have not