Memory fixes

- Deletes wide character arrays appropriately
- Fixed a bug which caused the application to crash when receving NULL
paths
- Fixed get() for empty configuration