Added old menu code. Added profiles loading.