various overdue fixes and leap sdk included