bracket mismatch & missing include fixes, replace busy indicator with
animated gif