update smartsprites to 0.2.10, fix some errors, minor code cleanup