Imported GetTemp() and other things.

Made GetTemp() more robust by allowing it to handle more than one adapter, not only adapter 0. Moved the GetTemp() to the top of the source code to easily find it instead of having functions littered throughout the code. Added docstring to GetTemp(). Also moved the title and version of the application into a constant and moved it to the top of the source file to make it easy to edit. Made other minor PEP8 style edits.