More bug fixes, some refactoring and new ability to create LightTable behaviors.