Some improvements to luasb