Reworked a signals parser, made a function for it and called it in all casting functions. Also reworked the comment parsing behavior a lot.