Added portal orientations - Closes #212
Added null check in lamp timer