Update and improve excepthook after it was broken by refactoring functionality into devassistant.lang