Getting bindings to work and fixing random bugs.