Renamed canvas functions to ctx
Renamed string.h to str.h to prevent conflicts with C headers