Working on tidy eBay stock handling in lib file.