Fixed PHP notices with slider fallback function and some backward compat stuff prior to WP 3.6.