Prevent multiple instances via fs2 file locking and improve agent server port-in-use detection. Add polygon shapes, vertex editing, grouping, alignment, z-ordering, duplication, SVG export, screenshot capture, app state introspection, and extended shape properties (opacity, rotation, corner radius, font family, max width) across both WebSocket and MCP APIs.