Merge pull request #2173 from Karang/master

Begining of gui optimizations
Add a dev console, few optimizations on gui. Solve gui input crashs.
Signed-off-by: Karang <arthur.hennequin@free.fr>