LWF- fixing some constructor issues.
- fixing some null references.
- doesn't crash on emulation now.