Simple cleanup. Move a function out of blockframe.c to the file that uses it. Also adds (another) comment noting the need to switch to frame IDs. commited, Andrew