Wait bar added

Adds a wait bar to RewriteCDF.m this allows the user to get some feed
back on what the computer is doing. program will fail if the user exits
the wait bar screen at the moment. looking for a way to easily fix this.