Refactored showing version number, logged errors