Fixed bugs, added ping