Minor improvements to slam demo app

Default directory implemented.