sounds like the cat to me mate ticking noise could have been were the cat came loose inside itself and now it has turned on its self blocking the exhaust flow and this will be the reason for the poor running and engine light on, does it run worst as it get warm