Added features: close tab action & toogling drawing buttons