Don't print out nonsensical information, if there really was no error when creating the keyboard file or the other way around. Also add the reason when failing to create the keyboard file. Lastly, only print an error message if SessionPath *really* is not defined.