Added .desktop field code. Fixes #42