Remove self dependency of llwindow.

Needed to avoid an error message from cmake 2.8.12.1 and higher
(policy 0022).
Compiler warning fixes.

g_thread_init is automatically called since 2.32 (and deprecated since 2.35).
g_type_init is automatically called since 2.36 and will be deprecated in the
future.
Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer