Moved code around to multiple files. Haven't tested this yet, but I doubt it works just yet. Just trying to get things to a place I can start understanding what's going on - the one giant file was making my eyes bleed, though it appears that is the norm :sadpanda: