Switch aol_file to stack.
Added todo on possible bug in aol restore.
Gotos!

Used for cleanup in this function. I'll probably get rid of it later.
Also included are the beginnings of actually commiting transactions.