Removed Windows dependencies from DiagramEditor