setBluePrintCell(): Added comments to make it more readable
setBluePrintCell(): Created a new inner function to remove duplicated code

The final statements for side objects and non side objects were
duplicated because these different object types have their final checks
done in separate IF statement closures.