Moved ID counter into the bat file actualy starting the client
Added logging for windows