Fixed some graphical issues. Added server poll thread