Lobot compatibility + bug fixes