added f2 map to switch to last buffer and cleaned up unused stuff