You could try cleaning the inputs and pots with some electricial switch cleaner like servisol etc..... and maybe try retension the inputs to see if it makes a better connection....
On the jacks, in the jacks, & in the pots (if possible)... anywhere there is a mechanical contact. Spray it in & insert a plug repeatedly or actuate the pot, getting that cleaner all up in there.
On my jacks, I had to bend the metal arm a bit to provide a better connection.. more friction if you will.
If the inputs are dodgy you might not get a good earth especially with a strat or tele.....our bass player had hum problems with a hartke bass combo he has and it was the inputs and they are not as easy to fix as yours..hartke have them soldered onto a little circuit board and they are a sealed unit........also if your on the same power socket loop in a house/apt as a computer or near a computer monitor it also can cause hum . also i have come across bad earth connections in the power supply in some of the gigs we do...nothing you can really do except get on with it.........but check the inputs,and give them a good clean with switch cleaner or alcohol and a earbud and as DeFrag suggested bend the pin a little if you have to to make a tighter connection....also check all the pins/wire to the inputs are soldered/connected...inputs soldered directly to the circuit board can have cracked solder joints due to constant pushing and pulling of guitar leads especially if you use planet waves type leads with the little 'wings' on the jack which fit very tightly into the input.....