wrap Libertree.Posts in immediate function

- hide setSubscription helper function
- mostly indentation changes