fix path and loop bugs in BinaryLoader,
prepare to add canvas demo