Warnings gui

Some warnings fixed, others remaining.