pre refactoring, works with a switch
refactoring: drawing works, preview doesn't
preview works
changing size works
several buttons working for the map, eraser not functionnal yet
old functions fully restored for both image and map widgets
fixed tools handling events they shouldn't have been accepting
can play gifs that won't disappear
pinging works
fix lines changing size post drawing, when you used shift to change the width
refactoring map almost commplete, lacks connects to change drawing tools
merge image into master
fixed init bugs
small init functions + removed different behaviour for map with tilestep=11
removed qdebug + clean warning