migrating GUI functions to gui.c
Merge branch 'master' of https://github.com/limpkin/mooltipass