Cache False & Locality improvements

* Improved some cache locality issues, namely when we pull or push
something in the work queue we did xchng instruction which flushed the
caches of other threads, making them see changes faster granted but also
we flushed our own cache that could contain the computation to be
executed.
! Fixed some concureny issues with the Queue.
! Fixed a bug in the DefaultThreadScheduler.