Generic lua lib loading.
Entity adjustments.