Fixed some bugs and server problems.