improved mental test appearance

and removed bugs