Merge pull request #1 from steviedenyer/master

first commit - it's all broken
crash fix when changing selection
add Xcode projects for editor
crash fix
more user data
better attributes and writing out to disk