My understanding is the Japanese had already offered 'terms', but we wanted them to fully surrender--except when they did we gave them the key thing they'd asked for, leaving the emperor alone!
The main theory I've read was that the primary strategic goal of the bombings were to warn Stalin, not defeat Japan.