Fixes #20. Check if slide is not nil before registering observers
Fix NSKeyedArchiver warning

Key foregroundColor was archived twice