Added some chagnges in optimistic and masqueue
fixed some error values and added some graphs. Need to do something about masks