Added flow control to deal with nil in optional forced unwrapping.
Added some layout constraints.