fixed some problematic gtk functions and added floats