Fixed null tracks and markers. Added RecordActivity and layout.