Added comments, and improved auto layout of detail and profile screens