Clean up some _SESSION[pcmembers].
Remove whiles from qe().

They aren't useful.
lastInsertId: Improve calling convention.