To solve 'bug 2':
New header template edit:
HTML Code:
<!-- Left Column Code -->
<if condition="$vbulletin->registry->products[amykhar_080517_l]">
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
</if>
<!-- End Left Column Code -->
new footer:
HTML Code:
<!-- Left Column Code -->
<if condition="$vbulletin->registry->products[amykhar_080517_l]">
</td></tr>
</table>
</td></tr>
</table>
</if>
<!-- End Left Column Code -->
PS in the above code the extra '<' of bug 1 is also already removed.