Finished dialog, enhanced JLD

JLD now supports C-style #define macros and concatenation
JLD now has convenience parser to translate control characters written
in plaintext
Text renderer now able to render newline characters
Fixed external resource importing for images and JLD files (sound still
broken)
Reworked click event dispatch to dispatch all events as a batch