Simplified the shared_cycle code

May use a different threading model for graphics and being_loop code.