Fixes. Improved the slots example by moving includes into functions to reduce parse times.