How do I avoid problems when going from Wi-Fi to cell data connection (3G)?
You could try using Quick Settings to toggle the 3G connection.  It has seperate toggle switches for 3G and Wifi but when wifi is on it automatically turns off 3G.  When I click the toggle to turn on 3G it automatically disables the wifi.