Yea.. never pay by the hour if you can help it.. or you'll end up paying for the guys lunch hour, standing around BS'ing with his buddies, etc.
I'd go for a flat rate estimate that includes a time frame for the completion of the job.. and don't pay a dime till the work is done.