(bug) fixed results communication with server
(bug) whitelist image files
(refactor) fixed typo
(refactor) removed some excess logs
Merge pull request #120 from richguan/bug/results

(bug) front and back end now communicate properly