Small updates to cleanup code, and get rid of build errors.
Updates to QT to be able to build on linux with qt 4.8

Signed-off-by: argakiig <sonicscrewdriverdev@gmail.com>