Updated declarations for correct const usage.
Added the Tk headers.