forward declation macros extented to weak pointers & missing forward declaration for GraphicalScene & cosms.