Version 4.1A - attempted fix at queuing error

changes to spaceAvailable method