lol i decided to cut the orange string 2 times, then somehow i grabbed this string that was loose (no connection to any pins) and put the square into its portal! it was funny but i think the dev should fix this ..
how to get lots of gold for badge of the day: Make sure you have enough troops at the barracks, then ask for a quest at the city hall, if the guy dosent offer you enough gold then click "No, something else?" then exit and click on the castle door on bottom-right and 1. if its to go to another city, look for it and then click on it (warning, hostile people everywhere), 2. if its about the rogues then theres a mountain with a flag on it, you have to go there (unless you are extremely unlucky and the mountain is on a island) then repeat. sorry for long comment
It's not a bug, it's a feature ;D