(1.2.4d) New settings and menu code (beta 2)