Fix base64 encoding and add Test for it
Fix many possible crash candidates

Add install scripts
Add the possibility to use dialog in install scripts