Attempt at getting NESL's LightApp to work properly