Begining of gui optimizations 

Signed-off-by: Karang <arthur.hennequin@free.fr>