menu incorporated, buttonlisteners partly added