Changed de_queue to check for null length.
More debugging...