Revert "Changed way of defining default directories for user and temp"

This reverts commit a7c2be7652c3d3cd2694391c63de555eb2af847c.
Improved error output