A little Arduino hack...
add a "/*" (without the quotes) to line 214 of file wiring.c (in the folder "lib\targets\arduino") and get an extra 400+ bytes of programming space!
Oh and by doing this you can't use the Old deprecated serial library anymore (see http://www.arduino.cc/en/Reference/HomePage
for more info), but I think it's worth it, as the new Serial library is better.
I have been trying to work the most punch out custom libraries lately. Just when you think your code is optimized, you compile it and discover it's larger than your previous version.
One thing I discovered, it's usually better to use more memory for variables, than using more functions.