Various fixes to run under Mono
Re-add PresentationCore, DynamoCore