Track the foreground frame

It seems sometimes when you bring up a frame you get stuck for input. By
tracking the frame you can at least (delete-frame) it from the console
if it gets stuck.