Why not (finally) expose main.cpp to the user ?

This came up in another thread as well - do you know how to download a sketch via the ICSP pins using the IDE?