Implement Tecla Shield DOS support. Work towards #49

A crash is still preventing the app from behaving properly. Have not been able to identify the problem.