If you have UnfocusedCPU enabled it will limit your FPS to 5 when you tab out of the game, so make sure that this mod is disabled.
If you experience progressively bad FPS while tabbed in, you might want to allocate another gig of RAM.
A crash log might also help find the issue