C bug fixes, more progress on C++ constructors
fixes to inlines