Fixed some warnings in Server.cpp, and in UI/