bug fix for invalid html, WildcardSearch/Advanced-Sidebox#4

Addressing WildcardSearch/Advanced-Sidebox issue #4
- fixed invalid html output in custom box.
- added auto inserting empty block within custom box tbody section if
user not provide any content for custom box to prevent invalid html.