Push now returns the index of the submitted object
which is the same as the length
Replace regex with new regex
Added messages for queue status, cleaned up code

also added more debug