Modified input handlig to have a dedicated "inputs" array.
Modified scroll handling to have a "scroll" array.
Modified input handling to use a "modified" flag.
Added _world_position_to_layer_position() function.
Renamed worldwide position variables to "a" and "b" in render_layer_map() and _world_position_to_layer_position(), added missing variable declarations.
Removed unnecessary leftover texture.