Error messages now work. Also displays a message when folder is empty. Fixes #16 #14