Add explicit layout for structs

Also correct a recursive loop in Color.Green