Added logic to place bubble text on Display boundaries.
Also added integTest and unit tests for functionality verification.