changed circle opacity algo and a few other things