Added a new todo, the code here isn't really pretty or good to understand.
Somewhere way back I made a terrible mistake to store everything as Y and then X. Major refactoring now, every coordinate is now defined as X and then Y ( like it should ).