added error handling
Merge branch 'master' of https://github.com/gurglien/mp-snake-eda095

Merge
no tab close on gui
removed external code