Clean up code

Minor refactor, removed wholly unnecessary checks, converted to using percentages instead of raw coordinates (boy that would've been a bitch to keep updating!) and itty bitty cleanup. NOTE: This code has not been compiled yet