Latest bugs fixed, A bit of socket programming left to be finished