Made the property grid code self-contained for now.