Changes necessary for the app to run and pass testing with python3.
rebased onto 35bfd1dacf0ba1c90a662bcc2234696b084b2b1e
rebased onto e5c84f241aa79a681bc4b1518ea2839dd19e5a7d
rebased onto 102d7517fa240ad10eae0d250c70ed91a89f660f
Pull-Request has been merged by frantisekz
Changes necessary for the app to run and pass testing with python3.