Headframe with a pickup bed used as an ore chute