Bug fixes, refactoring

Fix for the crypter function and interrupt handler
Bug fixes, refactoring

Fix the crypter function jeelib bug
Merge remote-tracking branch 'upstream/master'

Importing recent sercurity changes for the encryption code.