fix creation of new docworks profiles
actually fix new profile creation
fix move to docworks button only appearing when using in memory db
Merge pull request #113 from nla/docworks

Docworks