Updated preparing for release, fixed compilation and server compatibility